package com.craney.aboutDisplay
{
	import flash.display.Sprite;
	import flash.geom.Rectangle;
	import flash.text.TextField;
	import flash.text.TextFieldAutoSize;
	import flash.text.TextFormat;
	
	public class BigText
	{
		private var big:TextField = new TextField();
		
		
		public function BigText(sp:Sprite)
		{
			big.x = 100;
			big.y = 100;
			big.text = "Come on! Chinese!";
			big.textColor = 0x11cc44;
			big.backgroundColor = 0x000000;
			big.background = true;
			big.border = true;
			big.autoSize = TextFieldAutoSize.LEFT;
			
			var texFormat:TextFormat = new TextFormat();
			texFormat.size = 88;
			
			big.setTextFormat(texFormat);
			
			big.scrollRect = new Rectangle(0, 0, 12, big.height);
			
			
			sp.addChild(big);
			
		}

	}
}